package cn.itsource.util;

public class AjaxResultZBZ {
    private boolean success;
    private String msg;

    private Object resultObj = null;

    public Object getResultObj() {
        return resultObj;
    }

    public void setResultObj(Object resultObj) {
        this.resultObj = resultObj;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public AjaxResultZBZ(){
        this.success = true;
        this.msg = "操作成功";
    }
    public AjaxResultZBZ(String msg){
        this.success = false;
        this.msg = msg;
    }
}
